import { API_ASAL_OWNERADDRESS, API_ASAL_OWNERADDRESS_ID,API_ASAL_DEPOT_OWNERH5 ,API_ASAL_AREAS} from '@/api';

const http = (uni as any).$uv.http

export const getAddressById = (params?: object, config?: object) => http.get(API_ASAL_OWNERADDRESS_ID, { params, ...config });
export const postApiAsalOwneraddress = (params?: object, config?: object) => http.post(API_ASAL_OWNERADDRESS, params, config);
export const putApiAsalOwneraddressId = (params?: object, config?: object) => http.put(API_ASAL_OWNERADDRESS_ID, params, config);
export const deleteApiAsalOwneraddressId = (params?: object, config?: object) => http.delete(API_ASAL_OWNERADDRESS_ID, { ...params, ...config });
export const getApiAsaldepotOwnerh5 = (params?: object, config?: object) => http.get(API_ASAL_DEPOT_OWNERH5, params, config)
export const getAsalAreas = (params?: object, config?: object) => http.get(API_ASAL_AREAS, { params, ...config });
export const getApiAsalOwneraddress = (params?: object, config?: object) => http.get(API_ASAL_OWNERADDRESS, { params, ...config });




